

public class IsWall implements MoveRule {

	@Override
	public boolean isLegalMove(Board board, Move move, Move.Direction direction) 
	{
		
		boolean value = true;

		value &= ( board.getCellType( move ) != Board.CellType.Wall );
		
		return value;
	}

}
